package com.rh.number.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data // Lombok注解自动生成getter/setter
@NoArgsConstructor
@AllArgsConstructor
public class LoginRequest {
    private String username; // 字段名必须与JSON参数一致
    private String password;

    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }

    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }
}